package stringsrc;


public class Test {
	public static void main(String[] args) {
		
		char[] arr = {'a','b','c','d','e'};
		MyString str = new MyString(arr);
		MyString str2 = new MyString(arr);
		System.out.println(str.isEmpty());
		System.out.println(str.length());
		System.out.println(str.equals(str2));
		System.out.println(str.compareTo(str2));
		System.out.println(str.substring(1));
		System.out.println(str.indexOf('c'));
		System.out.println(str.replace('c','C'));
	}
}
